package com.hisense.ovcloud.commons.configs.activemq;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import java.util.List;

@ConfigurationProperties(prefix = "amq")
@Component
@Data
@Order(0)
public class AMQProps {
    private String brokerUrl;
    private String username;
    private String password;
    private List<AMQParseBean> configs;
    private String concurrency = "1";
}
